import 'package:fig/sqlite/sql_manager.dart';
import 'package:fig/sqlite/table_master_media_spider.dart';

class MasterMediaSpider {
  int id;
  String name;
  String apiUrl;

  MasterMediaSpider();

  MasterMediaSpider.fromMap(Map<String, dynamic> map) {
    this.id = map[TableBase.columnId];
    this.apiUrl = map[TableMediaPool.columnApiUrl];
    this.name = map[TableMediaPool.columnSpiderName];
  }
}
